package com.chare.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chare.pojo.Employee;
import com.chare.pojo.RespBean;
import com.chare.pojo.RespPageBean;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author shi
 * @since 2022-06-17
 */
public interface IEmployeeService extends IService<Employee> {

    RespPageBean getEmployeeByPage(Integer page, Integer pageSize, Employee employee, LocalDateTime[] beginDateScope);

    RespBean maxWorkId();

    RespBean insertEm(Employee employee);

    List<Employee> getEmployee(Integer id);

    RespPageBean getEmloyeeWithSalary(Integer page, Integer pageSize);
}
